mkdir -p /workshop

if [ ! -d /workshop/tools ]; then 
	mount /dev/sdp1 /workshop
else
	echo workshop already mount
fi

mkdir -p /wprkshop/tools

GOOGLE_URL="https://portable-tools.googlecode.com/svn/"

pushd /workshop/tools

if [ -d install ]; then
	svn update install
else
	svn co $GOOGLE_URL"trunk/install/Linux" install
fi

if [ -d ec2setup ]; then
	svn update ec2setup
else
	svn co $GOOGLE_URL"branches/ec2setup" ec2setup
fi
	
popd

